@charset "utf-8";

body {
  direction: rtl;
}

/* LOGIN */

.login .form-row {
  float: right;
}

.login .form-row label {
  float: right;
  padding-left: 0.5em;
  padding-right: 0;
  text-align: left;
}

.login .submit-row {
  clear: both;
  padding: 1em 9.4em 0 0;
}

/* GLOBAL */

th {
  text-align: right;
}

.module h2, .module caption {
  text-align: right;
}

.addlink, .changelink {
  padding-left: 0;
  padding-right: 0.85em;
  background-position: 100% 0.2em;
}

.deletelink {
  padding-left: 0;
  padding-right: 0.85em;
  background-position: 100% 0.25em;
}

.object-tools {
  float: left;
}

/* LAYOUT */

#user-tools {
  right: auto;
  left: 0;
  text-align: left;
}

div.breadcrumbs {
  text-align: right;
}

#content-main {
  float: right;
}

#content-related {
  float: left;
  margin-left: -19em;
  margin-right: auto;
}

.colMS {
  margin-left: 20em !important;
  margin-right: 0.7em !important;
}

/* dashboard styles */

.dashboard .module table td a {
  padding-left: .6em;
  padding-right: 0.85em;
}

/* changelists styles */

.change-list .filtered {
  background: white url(../img/admin/changelist-bg_rtl.gif) top left repeat-y !important;
}

.change-list .filtered table {
  border-left: 0.07em solid #ddd;
  border-right: 0 none;
}

#changelist-filter {
  right: auto;
  left: 0;
  border-left: 0 none;
  border-right: 0.07em solid #ddd;
}

.change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
  margin-right: 0 !important;
  margin-left: 11.4em !important;
}

#changelist-filter li.selected {
  border-left: 0 none;
  padding-left: 0;
  margin-left: 0;
  border-right: 0.35em solid #ccc;
  padding-right: 0.35em;
  margin-right: -0.7em;
}

/* FORMS */

.aligned label {
  padding: 0 0 0.2em 1em;
  float: right;
}

.submit-row {
  text-align: left
}

.submit-row p.deletelink-box {
  float: right;
}

.submit-row .deletelink {
  background: url(../img/admin/icon_deletelink.gif) 0 50% no-repeat;
  padding-right: 1em;
}

.vDateField, .vTimeField {
  margin-left: 0.15em;
}

form ul.inline li {
  float: right;
  padding-right: 0;
  padding-left: 0.5em;
}

input[type=submit].default, .submit-row input.default {
  float: left;
}

fieldset .field-box {
  float: right;
  margin-left: 1.4em;
}

.errorlist li {
  background-position: 100% .3em;
  padding: 0.3em 1.8em 0.3em 0.35em;
}

.errornote {
  background-position: 100% .3em;
  padding: 0.3em 1.8em 0.3em 0.35em;
}

/* WIDGETS */

.calendarnav-previous {
  top: 0;
  left: auto;
  right: 0;
}

.calendarnav-next {
  top: 0;
  right: auto;
  left: 0;
}

.calendar caption, .calendarbox h2 {
  text-align: center;
}

.selector {
  float: right;
}

.selector .selector-filter {
  text-align: right;
}

/* MISC */

.inline-related h2 {
  text-align: right
}

.inline-related h3 span.delete {
  padding-right: 1.4em;
  padding-left: inherit;
  left: 0.7em;
  right: inherit;
}

.inline-related h3 span.delete label {
  margin-left: inherit;
  margin-right: 0.15em;
}
